package org.jeecg.init;

import org.jeecg.modules.system.service.ISysInternationalLangService;
import org.jeecg.modules.system.service.impl.SysInternationalLangServiceImpl;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class BaseCommandLineRunner implements CommandLineRunner {
 @Resource
 ISysInternationalLangService sysInternationalLangServiceImpl;

    @Override
    public void run(String... args) throws Exception {
        sysInternationalLangServiceImpl.getAllLang();
    }
}
